// @ts-ignore
import Theme from 'vitepress/dist/client/theme-default'
import WangleiView from "@wanglei-view/components";
import '@wanglei-view/theme-chalk/src/index.scss'
import Demo from 'vitepress-theme-demoblock/components/Demo.vue'
import DemoBlock from 'vitepress-theme-demoblock/components/DemoBlock.vue'
import 'vitepress-theme-demoblock/theme/styles/index.css'
import '../wangleiview-theme/index.scss'

export default {
    ...Theme,
    // @ts-ignore
    enhanceApp({ app }) {
        app.use(WangleiView)
        app.component("Demo", Demo)
        app.component("DemoBlock", DemoBlock)
    }
}
